﻿using System.Collections.ObjectModel;
using System.Linq;

namespace TV_Organizer
{
    public abstract class TVShow
    {
        public TVShow()
        {
            this.Episodes = new ObservableCollection<Episode>();
        }

        public abstract string Name { get; }

        public abstract string Source { get; }

        public ObservableCollection<Episode> Episodes {get; set;}

        public override string ToString()
        {
            return string.Format("{0} ({1})", this.Name, this.GetType().Name);
        }
    }
}
